{extend name="common/base" /}

{block name="title"}
    走心更走胃-登录页面
{/block}
{block name="css"}
    <link rel="stylesheet" href="static/css/login.css">
{/block}

{block name="main"}
    <div class="register">
            <div class="r-t">欢迎登录 <i>Welcome to login</i></div>
            <div class="r-b">
                <div class="b-l">
                    <img src="static/images/register/reg3.jpg">
                </div>  
                <div class="b-r">
                    <p style="width: 300px; text-indent: 25px;">快速登录<span style="font-size: 14px;margin-left: 10px;">{$Think.session.loginError}</span></p>
                    <form action="/login" method="post">
                        <p><input type="text" name="phone" placeholder="请您输入手机号码" value="{$Think.session.loginphone}"></p>
                        <p><input type="password" name="password" placeholder="请您输入您的密码"></p>
                        <p style="overflow: hidden;">
                            <input type="text" name="captcha" placeholder="请您输入验证码" style="width: 100px;float: left;">
                            <img src="/verify" alt="captcha" style="float: right;" onclick="this.src='/verify/'+Math.random()"/>
                        </p>
                        <button type="submit" class="liji">立即登录</button>
                    </form>
                </div>  
            </div>
        </div>
{/block}